import request from '@/utils/request'
const qs = require('qs')
export function queryParamPageInfo (data) {
  return request({
    url: '/uaParam/queryParamPageInfo',
    method: 'post',
    data: data
  })
}
export function addParam (data) {
  return request({
    url: '/uaParam/addParam',
    method: 'post',
    data: data
  })
}
export function delParam (paramId) {
  return request({
    url: '/uaParam/delParam',
    method: 'get',
    params: {
      paramId
    }
  })
}
export function queryParamList (data) {
  return request({
    url: '/uaParam/queryParamList',
    method: 'post',
    data: data
  })
}
export function queryParamListByLike (data) {
  return request({
    url: '/uaParam/queryParamListByLike',
    method: 'post',
    data: data
  })
}
export function getTabByRelationId (data) {
  return request({
    url: '/uaParam/getTabByRelationId',
    method: 'post',
    data: data
  })
}
export function addParamTab (data) {
  return request({
    url: '/uaParam/addParamTab',
    method: 'post',
    data: data
  })
}
export function delParamTab (data) {
  return request({
    url: '/uaParam/delParamTab',
    method: 'post',
    data: data
  })
}

export function queryDictDataInfo (data) {
  return request({
    url: '/uaParam/queryDictDataInfo',
    method: 'post',
    data: data
  })
}

export function queryParamType (data) {
  return request({
    url: '/uaParam/queryParamType',
    method: 'post',
    data: data
  })
}

export function addParamType (data) {
  console.log('yayaa:', data)
  return request({
    url: '/uaParam/addParamType',
    method: 'post',
    data: data
  })
}
